<?php

namespace App\Library\Requests\Coupon;

use App\Library\Requests\Base\BasePageRequest;

class CouponPageRequest extends BasePageRequest
{
    public function rules(): array
    {
        return array_merge(parent::rules(), [
            'status' => 'nullable|integer|between:0,3',
            'expired' => 'nullable|boolean',
            'price' => 'nullable|decimal:2',
        ]);
    }
}
